#pragma once

class CJoinLeaveSchedule
{
public:
	CJoinLeaveSchedule(void);
	~CJoinLeaveSchedule(void);
private:
	vector<CNodeBehavior> m_cBehaverInfo;
public:
	bool ScheduleStatic(MSEC dwDuration, int nNodeCount , MSEC dwJoinDuration, MSEC dwDepartureDuration);
	vector<CNodeBehavior> & GetScheduleInfo(void);
	bool ScheduleDynamic(MSEC dwDuration, double dJoinRate, MSEC dwNodeLifeTime);
};
